package com.naiterui.ehp.bs.recommend.repository.mysql;

import com.naiterui.common.repository.core.BaseJpaRepository;
import com.naiterui.ehp.bs.recommend.bean.MedicationRequireDetail;
import org.springframework.stereotype.Repository;

import java.util.Collection;
import java.util.List;

@Repository
public interface IMedicationRequireDetailRepository extends BaseJpaRepository<MedicationRequireDetail, Long> {

    List<MedicationRequireDetail> findByRequireId(Long requireId);

    List<MedicationRequireDetail> findByRequireIdIn(Collection<Long> requireIds);

}